import request from "../utils/request"

export function getsubclassifyandClassify(){
    return request.get("/subclassify/ClassifyId")
}

export function getid(id){
    return request.get(`/subclassify/getid/${id}`)
}

export function getggandggz(id){
    return request.get(`/specification/ggandggz/${id}`)
}

export function postclassify(data){
    return request.post('/classify',data)
}

export function postsubclassify(data){
    return request.post('/subclassify',data)
}

export function postspecification(data){
    return request.post('/specification',data)
}
export function postspecificationvalue(data){
    return request.post('/specificationvalue',data)
}

export function postspu(data){
    return request.post('/spu',data)
}

export function postspuspecification(data){
    return request.post('/spuspecification',data)
}

export function postspuspecificationvalue(data){
    return request.post('/spuspecificationvalue',data)
}